from django.urls import path
from . import views

app_name = 'login'
urlpatterns = [
    path('login/', views.login, name='login'),
    # 检测手机号
    path('check_phone/', views.check_phone, name='check_phone'),
    # 验证短信
    path('sms_check/', views.sms_check, name='sms_check'),

    # 注册
    path('register/', views.register, name='register'),
    # 登录检测手机号
    path('login_check_phone/', views.login_check_phone, name='login_check_phone'),
    # 登录检测密码
    path('login_check_pwd/', views.login_check_pwd, name='login_check_pwd'),
    # 登录
    path('login_index/', views.login_index, name='login_index'),
    # 激活
    path('login_activate/<token>/', views.login_activate, name='login_activate')
]
